{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport SvgIcon from '../SvgIcon';\n/**\n * Private module reserved for @mui packages.\n */\n\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createSvgIcon(path, displayName) {\n  function Component(props, ref) {\n    return /*#__PURE__*/_jsx(SvgIcon, _extends({\n      \"data-testid\": \"\".concat(displayName, \"Icon\"),\n      ref: ref\n    }, props, {\n      children: path\n    }));\n  }\n  if (process.env.NODE_ENV !== 'production') {\n    // Need to set `displayName` on the inner component for React.memo.\n    // React prior to 16.14 ignores `displayName` on the wrapper.\n    Component.displayName = \"\".concat(displayName, \"Icon\");\n  }\n  Component.muiName = SvgIcon.muiName;\n  return /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(Component));\n}","map":{"version":3,"names":["_extends","React","SvgIcon","jsx","_jsx","createSvgIcon","path","displayName","Component","props","ref","children","process","env","NODE_ENV","muiName","memo","forwardRef"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@mui/material/esm/utils/createSvgIcon.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport SvgIcon from '../SvgIcon';\n/**\n * Private module reserved for @mui packages.\n */\n\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createSvgIcon(path, displayName) {\n  function Component(props, ref) {\n    return /*#__PURE__*/_jsx(SvgIcon, _extends({\n      \"data-testid\": `${displayName}Icon`,\n      ref: ref\n    }, props, {\n      children: path\n    }));\n  }\n\n  if (process.env.NODE_ENV !== 'production') {\n    // Need to set `displayName` on the inner component for React.memo.\n    // React prior to 16.14 ignores `displayName` on the wrapper.\n    Component.displayName = `${displayName}Icon`;\n  }\n\n  Component.muiName = SvgIcon.muiName;\n  return /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(Component));\n}"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,oCAAoC;AACzD,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,OAAO,MAAM,YAAY;AAChC;AACA;AACA;;AAEA,SAASC,GAAG,IAAIC,IAAI,QAAQ,mBAAmB;AAC/C,eAAe,SAASC,aAAa,CAACC,IAAI,EAAEC,WAAW,EAAE;EACvD,SAASC,SAAS,CAACC,KAAK,EAAEC,GAAG,EAAE;IAC7B,OAAO,aAAaN,IAAI,CAACF,OAAO,EAAEF,QAAQ,CAAC;MACzC,aAAa,YAAKO,WAAW,SAAM;MACnCG,GAAG,EAAEA;IACP,CAAC,EAAED,KAAK,EAAE;MACRE,QAAQ,EAAEL;IACZ,CAAC,CAAC,CAAC;EACL;EAEA,IAAIM,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;IACzC;IACA;IACAN,SAAS,CAACD,WAAW,aAAMA,WAAW,SAAM;EAC9C;EAEAC,SAAS,CAACO,OAAO,GAAGb,OAAO,CAACa,OAAO;EACnC,OAAO,aAAad,KAAK,CAACe,IAAI,EAAE,aAAaf,KAAK,CAACgB,UAAU,CAACT,SAAS,CAAC,CAAC;AAC3E"},"metadata":{},"sourceType":"module"}